pub fn new_count_distinct(input_str: &str) -> usize {
    let items = input_str.split(',').collect::<Vec<&str>>();
    let mut cnt = 0;

    for (num, item) in items.iter().enumerate() {
        if !items[..num].contains(&item) {
            cnt += 1;
        }
    }

    cnt
}
